<?php

namespace Wechat\Controller\Admin;


use App\Controller\Admin\BaseController;
use Hyperf\Di\Annotation\Inject;
use Wechat\Service\ChatStaffService;
use Yj\Apidog\Annotation\ApiController;
use Yj\Apidog\Annotation\PostApi;

/**
 * @ApiController(prefix="admin/store/service/feedback")
 */
class ChatFeedbackController extends BaseController
{
    /**
     * @Inject()
     * @var ChatStaffService
     */
    protected $chatStaffService;

    /**
     * @PostApi(path="lists")
     */
    public function lists(){
        $params = $this->getParams();
        $data = $this->chatStaffService->lists($params);
        _SUCCESS($data);
    }
}